package lab02.test36;

abstract class Student {
    int courseNo = 3;
    String sort;
    String name;
    int grade[] = new int[3];//成绩
    String courseGrade; //成绩等级

    public Student(String name) {

        this.name = name;
        grade = new int[courseNo];
        courseGrade = null;
    }


    public abstract void calculateGrade(int grade[]);

    public String getName() {
        return name;
    }

    public String getCourseGrade() {
        return courseGrade;
    }


    public void setName(String name) {
        this.name = name;
    }


    public String getSort() {
        return sort;
    }


}
